﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace EzDesk.Generic.WPF
{
    public static class WebBrowserExtension
    {

        public static WebBrowser DisableDocumentScroll(this WebBrowser source)
        {
            dynamic document = source.Document;
            document.Body.scroll = "no";
            return source;
        }
    }
}
